package com.chengxiaoxiao.domain;

import java.io.Serializable;
import java.util.List;

public class Publisher implements Serializable {
    private long id;
    private String name;

    private List<Books> booksList;

    public Publisher() {
    }

    public Publisher(long id, String name) {
        this.id = id;
        this.name = name;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Books> getBooksList() {
        return booksList;
    }

    public void setBooksList(List<Books> booksList) {
        this.booksList = booksList;
    }
}
